import { pattern } from './index'

export const userAddPattern = {
  email: [
    {
      required: true,
      message: '请输入邮箱'
    },
    {
      pattern: pattern.regexp_email,
      message: '请输入正确的邮箱'
    }
  ],
  phoneNumber: [
    {
      required: true,
      message: '请输入手机号码'
    },
    {
      pattern: pattern.regexp_cell_phone,
      message: '请输入正确的手机号码'
    }
  ]
}
